<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  
  
  <title>first try | Hexo</title>
  <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  <meta name="description" content="从今天开始尝试搭建个人 blog，旨在总结、记录一些 pytorch 学习中的技巧搭建博客过程【超详细！0 成本搭建个人网站！！【建议收藏】】 https:&#x2F;&#x2F;www.bilibili.com&#x2F;video&#x2F;BV1ts4y1f7Gu&#x2F;?share_source&#x3D;copy_web&amp;vd_source&#x3D;a4d260c12ae4261ed3a54b3afdb1e657 hexo 是一个非常简单、轻">
<meta property="og:type" content="article">
<meta property="og:title" content="first try">
<meta property="og:url" content="http://example.com/2023/09/05/first-try/index.html">
<meta property="og:site_name" content="Hexo">
<meta property="og:description" content="从今天开始尝试搭建个人 blog，旨在总结、记录一些 pytorch 学习中的技巧搭建博客过程【超详细！0 成本搭建个人网站！！【建议收藏】】 https:&#x2F;&#x2F;www.bilibili.com&#x2F;video&#x2F;BV1ts4y1f7Gu&#x2F;?share_source&#x3D;copy_web&amp;vd_source&#x3D;a4d260c12ae4261ed3a54b3afdb1e657 hexo 是一个非常简单、轻">
<meta property="og:locale" content="en_US">
<meta property="article:published_time" content="2023-09-05T04:40:40.000Z">
<meta property="article:modified_time" content="2023-09-05T05:14:04.244Z">
<meta property="article:author" content="John Doe">
<meta name="twitter:card" content="summary">
  
    <link rel="alternate" href="/atom.xml" title="Hexo" type="application/atom+xml">
  
  
    <link rel="shortcut icon" href="/favicon.png">
  
  
    
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/typeface-source-code-pro@0.0.71/index.min.css">

  
  
<link rel="stylesheet" href="/css/style.css">

  
    
<link rel="stylesheet" href="/fancybox/jquery.fancybox.min.css">

  
  
<meta name="generator" content="Hexo 6.3.0"></head>

<body>
  <div id="container">
    <div id="wrap">
      <header id="header">
  <div id="banner"></div>
  <div id="header-outer" class="outer">
    <div id="header-title" class="inner">
      <h1 id="logo-wrap">
        <a href="/" id="logo">Hexo</a>
      </h1>
      
    </div>
    <div id="header-inner" class="inner">
      <nav id="main-nav">
        <a id="main-nav-toggle" class="nav-icon"><span class="fa fa-bars"></span></a>
        
          <a class="main-nav-link" href="/">Home</a>
        
          <a class="main-nav-link" href="/archives">Archives</a>
        
      </nav>
      <nav id="sub-nav">
        
        
          <a class="nav-icon" href="/atom.xml" title="RSS Feed"><span class="fa fa-rss"></span></a>
        
        <a class="nav-icon nav-search-btn" title="Search"><span class="fa fa-search"></span></a>
      </nav>
      <div id="search-form-wrap">
        <form action="//google.com/search" method="get" accept-charset="UTF-8" class="search-form"><input type="search" name="q" class="search-form-input" placeholder="Search"><button type="submit" class="search-form-submit">&#xF002;</button><input type="hidden" name="sitesearch" value="http://example.com"></form>
      </div>
    </div>
  </div>
</header>

      <div class="outer">
        <section id="main"><article id="post-first-try" class="h-entry article article-type-post" itemprop="blogPost" itemscope itemtype="https://schema.org/BlogPosting">
  <div class="article-meta">
    <a href="/2023/09/05/first-try/" class="article-date">
  <time class="dt-published" datetime="2023-09-05T04:40:40.000Z" itemprop="datePublished">2023-09-05</time>
</a>
    
  </div>
  <div class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 class="p-name article-title" itemprop="headline name">
      first try
    </h1>
  

      </header>
    
    <div class="e-content article-entry" itemprop="articleBody">
      
        <h2 id="从今天开始尝试搭建个人-blog，旨在总结、记录一些-pytorch-学习中的技巧"><a href="#从今天开始尝试搭建个人-blog，旨在总结、记录一些-pytorch-学习中的技巧" class="headerlink" title="从今天开始尝试搭建个人 blog，旨在总结、记录一些 pytorch 学习中的技巧"></a>从今天开始尝试搭建个人 blog，旨在总结、记录一些 pytorch 学习中的技巧</h2><h3 id="搭建博客过程"><a href="#搭建博客过程" class="headerlink" title="搭建博客过程"></a>搭建博客过程</h3><p>【超详细！0 成本搭建个人网站！！【建议收藏】】 <a target="_blank" rel="noopener" href="https://www.bilibili.com/video/BV1ts4y1f7Gu/?share_source=copy_web&vd_source=a4d260c12ae4261ed3a54b3afdb1e657">https://www.bilibili.com/video/BV1ts4y1f7Gu/?share_source=copy_web&amp;vd_source=a4d260c12ae4261ed3a54b3afdb1e657</a></p>
<p>hexo 是一个非常简单、轻量级能够用来搭建个人博客的框架，在借助了小宇视频的基础上，本人打算基于这一框架进行博客的搭建。</p>
<p>分别安装 node.js, git 后，运行下列的命令，就可以很轻松的搭建出一个建立在 localhost 上的博客啦</p>
<figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br></pre></td><td class="code"><pre><span class="line">npm install hexo-cli -g</span><br><span class="line">hexo init blog</span><br><span class="line"><span class="built_in">cd</span> blog</span><br><span class="line">npm install</span><br><span class="line">hexo server</span><br></pre></td></tr></table></figure>

<h3 id="将博客发布在-gitee-pages-上"><a href="#将博客发布在-gitee-pages-上" class="headerlink" title="将博客发布在 gitee pages 上"></a>将博客发布在 gitee pages 上</h3><p>这一步的过程相对而言稍微麻烦一点</p>
<ol>
<li>需要gitee进行实名认证</li>
<li>在本地创建公钥，并上传到ssh公钥</li>
<li>ssh -T <a href="mailto:&#103;&#105;&#x74;&#101;&#x65;&#64;&#103;&#x69;&#116;&#46;&#99;&#111;&#x6d;">&#103;&#105;&#x74;&#101;&#x65;&#64;&#103;&#x69;&#116;&#46;&#99;&#111;&#x6d;</a></li>
<li>hexo d(eploy)部署到gitee.com上</li>
<li>每次更新后hexo g(enerate) 然后hexo d</li>
</ol>

      
    </div>
    <footer class="article-footer">
      <a data-url="http://example.com/2023/09/05/first-try/" data-id="clm5ugwld0000www70f0e6ag0" data-title="first try" class="article-share-link"><span class="fa fa-share">Share</span></a>
      
      
      
    </footer>
  </div>
  
    
<nav id="article-nav">
  
    <a href="/2023/09/05/%E5%BC%A0%E9%87%8F%E6%93%8D%E4%BD%9C/" id="article-nav-newer" class="article-nav-link-wrap">
      <strong class="article-nav-caption">Newer</strong>
      <div class="article-nav-title">
        
          张量操作
        
      </div>
    </a>
  
  
    <a href="/2023/09/05/hello-world/" id="article-nav-older" class="article-nav-link-wrap">
      <strong class="article-nav-caption">Older</strong>
      <div class="article-nav-title">Hello World</div>
    </a>
  
</nav>

  
</article>


</section>
        
          <aside id="sidebar">
  
    

  
    

  
    
  
    
  <div class="widget-wrap">
    <h3 class="widget-title">Archives</h3>
    <div class="widget">
      <ul class="archive-list"><li class="archive-list-item"><a class="archive-list-link" href="/archives/2023/09/">September 2023</a></li></ul>
    </div>
  </div>


  
    
  <div class="widget-wrap">
    <h3 class="widget-title">Recent Posts</h3>
    <div class="widget">
      <ul>
        
          <li>
            <a href="/2023/09/05/%E5%BC%A0%E9%87%8F%E6%93%8D%E4%BD%9C/">张量操作</a>
          </li>
        
          <li>
            <a href="/2023/09/05/first-try/">first try</a>
          </li>
        
          <li>
            <a href="/2023/09/05/hello-world/">Hello World</a>
          </li>
        
      </ul>
    </div>
  </div>

  
</aside>
        
      </div>
      <footer id="footer">
  
  <div class="outer">
    <div id="footer-info" class="inner">
      
      &copy; 2023 John Doe<br>
      Powered by <a href="https://hexo.io/" target="_blank">Hexo</a>
    </div>
  </div>
</footer>

    </div>
    <nav id="mobile-nav">
  
    <a href="/" class="mobile-nav-link">Home</a>
  
    <a href="/archives" class="mobile-nav-link">Archives</a>
  
</nav>
    


<script src="/js/jquery-3.6.4.min.js"></script>



  
<script src="/fancybox/jquery.fancybox.min.js"></script>




<script src="/js/script.js"></script>





  </div>
</body>
</html>